home *** CD-ROM | disk | FTP | other *** search
-
- #include "menus.h"
- #include "Protos.h"
- #include "headers.h"
- #include "CSimpleAppSite.h"
- #include "App.h"
-
- void AdjustMenus(void)
- {
- }
-
- void DoAppleMenu(short MenuID, short MenuItem)
- {
- #pragma unused (MenuID, MenuItem)
- }
-
- void DoFileMenu(short MenuItem)
- {
- switch (MenuItem)
- {
- case iOpen:
- {
- StandardFileReply Reply;
- SFTypeList TypeList = { 'shlb' };
-
- ::StandardGetFile(NULL, 1, TypeList, &Reply);
- if (Reply.sfGood)
- CreateControlFromFileSpec(&Reply.sfFile);
- }
- break;
- case iQuit:
- ExitToShell();
- break;
- }
- }
-
- void DoEditMenu(short MenuItem)
- {
- #pragma unused (MenuItem)
- }
-
-
- void DoColorMenu(short MenuItem)
- {
- #pragma unused (MenuItem)
- }
-